home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 4
/
Gold Medal Software - Volume 4 (Gold Medal) (1994).iso
/
utils1
/
he14.arj
/
HE.DOC
< prev
next >
Wrap
Text File
|
1994-08-22
|
21KB
|
428 lines
6-07-94
HexEdit rev 1.4
TABLE OF CONTENTS
1. INTRODUCTION
System Requirement 3
File Size Restrictions 3
What You Need to Know 3
2. GETTING STARTED
Backing Up HexEdit 3
Installing Onto A Hard Disk 4
Running HexEdit 4
3. FEATURES
Getting Help 4
Menus 4
Entering Bytes 5
Cursor Movement 5
Function Keys 5
F1 - Help 5
F2 - File Menu 5
Save file 5
Save and name file 5
Save file and exit 5
Insert file 5
Write block to file 5
Quit, abandon edits 5
F3 - Edit Menu 5
Delete byte 5
Delete block 5
Begin block mark 5
End block mark 5
Clear block marks 5
Copy block 5
Move block 5
Toggle overtype/insert mode 5
Toggle hex/character mode 6
ASCII character set window 6
F4 - Goto Menu 6
Go to address 6
Find byte string 6
Previous page 6
Next page 6
Beginning of file 6
End of file 6
F5 - DOS Command 6
Alt Keys 6
Alt+a ASCII character set window 6
Alt+b Begin block mark 6
Alt+c Copy block 6
Alt+d Delete block 7
Alt+e End block mark 7
Alt+f Find byte string 7
1
Alt+g Go to address 7
Alt+h Toggle hex/character mode 7
Alt+i Insert file 7
Alt+m Move block 7
Alt+n Save and name file 7
Alt+q Quit, abandon edits 7
Alt+r Clear block marks 7
Alt+s Save file 7
Alt+w Write block to file 7
Alt+x Save file and exit 7
Special Keys 7
BS 7
Del 7
End 7
Enter 7
Esc 7
Home 7
Ins 7
PgDn 7
PgUp 7
2
INTRODUCTION
Thank you using HexEdit. HexEdit is an easy-to-use binary or text
file editor containing both hex byte and text editing features.
With most text editors, non-printable characters are not displayed
on the screen and editing these non-printable characters are
difficult if not impossible. HexEdit displays all bytes within a
file(including non-printable characters) and provide powerful byte
editing features for the serious user.
A character mode is available for quickly typing in characters rather
than editing bytes. An ASCII character set window is also available
for viewing or entering characters from the window.
1. System Requirements for HexEdit
HexEdit requires an IBM XT,AT,PS1,PS2,Tandy,386,486,Pentium
or 100% compatible with 640K RAM.
2. File Size Restrictions
Because the HexEdit file being edited is fully loaded into
RAM(fast editing), file sizes are restricted by the amount
of available RAM. The default maximum file size is 262,144
bytes. Editing files larger than 262,144 is possible if
enough conventional RAM memory is available on your system.
Removing TSR's loaded into conventional memory will increase
RAM. See "3. Running HexEdit" below for more information on
editing files larger than 262,144 bytes.
3. What You Need to Know
HexEdit was designed for the computer user who requires to view
or edit bytes within a file. I assume that you know how to
turn on your computer and run DOS. Review the manuals that
came with your computer if you are unfamiliar with it.
Terms You Need To Know
Default is a setting which is initially set when
HexEdit is first used. For example, when you run
HexEdit, it assumes that you with start your editing
in overtype mode and hex mode.
Toggle is a feature which switched the settings to the
next possible choice. For example, if you are in
overtype mode and wish to change to insert mode,
pressing the INS key will toggle the mode to insert
mode. Pressing INS again will toggle you back to
overtype mode.
GETTING STARTED
1. Backing Up HexEdit
Before you begin using HexEdit, you should make a back-up copy
of the program to another disk and on your hard disk. Back-ups
save time and problems if something should ever happen to your
original HexEdit program. Refer to the DOS manual that came
3
with your computer if you are unfamiliar with COPY or DISKCOPY.
2. Installing Onto You Hard Disk
HexEdit is completely contained on a single file. Just copy
HE.EXE into any directory within your path or make a new
directory. HexEdit requires no hardware set-up.
3. Running HexEdit
There are three different ways to run HexEdit.
A. Running HexEdit without a file:
Type HE and press Enter. A file called NO_NAME.HEX
will be created with no bytes. When editing is
complete, you can press Alt+n to save and name file.
B. Running HexEdit with a file:
Type HE FILENAME and press Enter. FILENAME is the name
of the file for editing.
C. Running HexEdit with a file and changing its file
allocation size.
Type HE FILENAME ALLOCATION_SPACE and press Enter.
Examples: HE FILENAME.HEX 100000
HE FILENAME.HEX 350000
FILENAME is the name of the file for editing.
ALLOCATION_SPACE is a decimal number which specifies
the amount of 640K RAM necessary to edit FILENAME.
This method of running HexEdit should be avoided unless
memory allocation errors occur. The default allocation
size used to load a file into HexEdit is 262,144 bytes.
Files larger than 262,144 bytes will require more
allocation space. The amount of space which cam be
allocated is dependent on the amount of 640K RAM still
available on your system AFTER loading HexEdit.
FEATURES
1. Getting Help
When you start HexEdit, a main menu appears with a choice for
Help. While in the editor, press the F1 key to display the
help screen.
2. Menus
HexEdit uses pop-up menus that offer a set of choices or option
in an organized manner. When you first run HexEdit, you will
drop directly into the Main Menu. A menu option will be
highlighted. Press Enter to select the highlighted choice. To
select a different option, use the arrow keys to highlight your
choice and press Enter or press the highlighted character.
While a menu is open in the editor, the left or right arrow
keys can be used to open adjacent menus. Press the ESC key
4
to cancel a menu.
3. Entering Bytes
In the upper-right corner of the editor screen, a working area
appears for editing the present address location. In overtype
mode, the byte of the present address will appear in this
working area. In insert mode, this working area will appear as
dashes until data is typed in. Once the change is completed,
press Enter to load the change into the editor.
4. Cursor Movement
Cursor movement within the editor is done by moving the Arrow
keys, HOME, END, PgUp or PgDn key. To move the cursor to a
specific address location, use Alt+G (Go To Address). Alt+F
(Find Byte String) will also move the cursor to the next
address containing the specified byte string.
5. Function Keys
These five special function keys are displayed on the top
menu of the editor screen.
F1 - Help
The help screen displays all the key and key combinations.
F2 - File Menu
List various choices related to file operation.
Save file - Saves contents of editor under the current file
name and resumes editing.
Save and name file - Requests a new file name, saves the
contents of editor and resumes editing.
Save file and exit - Saves contents of editor and returns to
main menu.
Insert file - Insert a file starting at the current address
location.
Write block to file - Requests a file name and saves bytes
within block marks.
Quit, abandon edits - Returns to main menu without saving
changes to file.
F3 - Edit Menu
List various choices related to editing operation.
Delete byte - Deletes byte in the current address location.
Delete block - Deletes bytes located within the block marks.
Begin block mark - Marks the current location as the beginning
of the block.
End block mark - Marks the current location as the end of the
block.
Clear block marks - Remove block marks.
Copy block - Copies the bytes within the block marks to the
current address location.
Move block - Moves the bytes within the block to the current
address location.
Toggle overtype/insert mode - Changes the mode from which bytes
5
are loaded into the editor. Overtype mode (default
mode) overwrites the contents of the byte in the
current address location. Insert mode will push all
bytes equal to or greater than the current address
location and insert the byte, block or file into the
current address location.
Toggle hex/character mode - Allows the user to edit characters
instead of bytes. Hex mode (default mode) allows the
user to edit bytes. Character mode allows the user to
change bytes by typing characters. Only printable
ASCII characters may be used. Printable is ASCII
21h - 7Fh.
ASCII character set - Use the ASCII character set window Alt+a
for viewing or entering printable or non-printable
characters. Press the ESC key to remove the window.
F4 - Goto Menu
List various choices related to moving the current address
location.
Go to address - Move to the specified hex address location.
Find byte string - Find the specified byte string. Use the
arrow keys to move to the next byte or previous bytes.
Press Enter to begin search. Alt+a can be used to
enter characters. The search begins at the present
address location.
Previous page - Move to the previous address screen.
Next page - Move to the next address screen.
Beginning of file - Go to the first address location.
End of file - Go to the last address location.
F5 - DOS Command
Allows the user to execute a DOS command.
For example, if you want to insert a file into the editor but
can't remember the file name, press F5. Type DIR and press
Enter. Files in the current directory are displayed. Press
any key to return to editing.
6. Alt Keys
Allows the user to run task quickly rather than sifting through
the menus on the top of the editor screen.
The Alt key is designed to be used in combination with another
key to run the specified task. For example, to use the ASCII
character set window, hold down the Alt key and press the
letter A. The ASCII character set window appears on the
screen.
Alt+a ASCII character set window - Allows the user to view or
enter an ASCII character into the editor. Use arrow
keys to select character within window and press Enter
or press the ESC key to remove the window.
Alt+b Begin block mark - Marks the current address location
as the beginning of the block.
Alt+c Copy block - Copies the bytes within the block marks to
6
the current address location.
Alt+d Delete block - Deletes bytes located within the block
marks.
Alt+e End block mark - Marks the current location as the end
of the block.
Alt+f Find byte string - Find the specified byte string.
Use the arrow keys to move to the next byte or previous
bytes, then press Enter to begin search. Alt+a can be
used to enter characters. The search begins at the
present address location.
Alt+g Go to address - Move to the specified address.
Alt+h Toggle hex/character mode - Allows the user to edit
characters instead of bytes. Hex mode (default mode)
allows the user to edit bytes. Character mode allows
the user to change bytes by typing characters. Only
printable ASCII characters can be used. Printable is
ASCII 21h - 7Fh.
Alt+i Insert file - Insert a file starting at the current
address location.
Alt+m Move block - Moves the bytes within the block marks to
the current address location.
Alt+n Save and name file - Requests a new file name, saves
the contents of editor and resumes editing.
Alt+q Quit, abandon edits - Return to main menu without
saving changes.
Alt+r Clear block marks - Remove block marks.
Alt+s Save file - Save contents of editor under current file
name and resumes editing.
Alt+w Write block to file - Requests a file name and saves
bytes within block marks.
Alt+x Save file and exit - Save contents of edit under
current file name and return to main menu.
7. Special Keys
BS Use backspace to delete the previous character.
Del Deletes the byte or character, depending on mode in
use.
End Go to the last address location.
Enter Used to enter a byte, string or choice from a menu.
Esc Cancels menus or windows.
Home Go to the first address location.
Ins Changes the mode in which bytes are loaded into the
editor. Overtype mode (default mode) overwrites the
contents of the byte in the current address location.
Insert mode will push all bytes equal to or greater
than the current address location and insert the byte,
block or file into the current address location.
PgDn Move to the next address screen.
PgUp Move to the previous address screen.
7